% changes synapse's weight
function obj = updateSynapseWeight(obj, newWeight)
    obj.weight = newWeight;
end